package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.FacilityInfo;
import com.atguigu.lease.model.enums.FacilityInfoTypeEnum;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 1
* @description 针对表【facility_info(配套信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:26
*/
public interface FacilityInfoService extends IService<FacilityInfo> {

//    List<FacilityInfo> listByType(Integer type);
    List<FacilityInfo> listByType(FacilityInfoTypeEnum typeEnum);

    boolean saveOrUpdateFacilityInfo(FacilityInfo facilityInfo);
}
